<%--
  Created by IntelliJ IDEA.
  User: nico
  Date: 01/10/12
  Time: 16:29
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:textfield label="Name" name="informedConsents.description" id="name" value="%{informedConsents.description}"  />
<s:textfield label="Version" name="informedConsents.version" id="version" value="%{informedConsents.version}"/>
<s:textfield label="Comments" name="informedConsents.comments" id="comments" value="%{informedConsents.comments}"/>

<s:hidden  name="informedConsents.dated" id="altinformedConsents.dated" value="%{informedConsents.dated}"/>
<s:textfield label="Dated" id="informedConsents.dated" cssClass="datepicker"/>

<s:hidden  name="informedConsents.receivedBms" id="altinformedConsents.receivedBms" value="%{informedConsents.receivedBms}"/>
<s:textfield label="Received BMS" id="informedConsents.receivedBms" cssClass="datepicker"/>

<s:hidden  name="informedConsents.sentToSite" id="altsentToSite" value="%{informedConsents.sentToSite}"/>
<s:textfield label="Sent to Site" id="sentToSite" cssClass="datepicker"/>

<s:select label="Scope" name="informedConsents.scope" id="scope"  value="%{informedConsents.scope}"
          list="#{'1':'Site', '2':'Multi-site'}"/>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">External EC:</label></td></tr>

<s:hidden  name="informedConsents.sentToExternalEc" id="altsentToExternalEc" value="%{informedConsents.sentToExternalEc}"/>
<s:textfield label="Sent to external EC" id="sentToExternalEc" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvedExternalEc" id="altapprovedExternalEc" value="%{informedConsents.approvedExternalEc}"/>
<s:textfield label="Approved/Notified external EC" id="approvedExternalEc" cssClass="datepicker"/>
<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">Local EC:</label></td></tr>

<s:hidden  name="informedConsents.sentToLocalEc" id="altsentToLocalEc" value="%{informedConsents.sentToLocalEc}"/>
<s:textfield label="Sent to Local EC" id="sentToLocalEc" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvedLocalEc" id="altapprovedLocalEc" value="%{informedConsents.approvedLocalEc}"/>
<s:textfield label="Approved/Notified Local EC" id="approvedLocalEc" cssClass="datepicker"/>


<tr><div id="div_">Statement indicating that investigator/study personnel did not vote (applicable when  the  investigator or study personnel is a member of the IRB/IEC)</div></tr>
<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple" id="cartaNoVotoLocalEc" cssClass="datepicker"/>
        <s:hidden  name="informedConsents.cartaNoVotoLocalEc" id="altcartaNoVotoLocalEc" value="%{informedConsents.cartaNoVotoLocalEc}"/>
    </td>
</tr>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">Teaching Committee:</label></td></tr>
<s:hidden  name="informedConsents.sentToTc" id="altsentToTc" value="%{informedConsents.sentToTc}"/>
<s:textfield label="Sent to Teaching Committee" id="sentToTc" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvedTc" id="altapprovedTc" value="%{informedConsents.approvedTc}"/>
<s:textfield label="Approved/Notified Teaching Committee" id="approvedTc" cssClass="datepicker"/>

<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple"  id="cartaNoVotoTc" cssClass="datepicker"/>
        <s:hidden  name="informedConsents.cartaNoVotoTc" id="altcartaNoVotoTc" value="%{informedConsents.cartaNoVotoTc}"/>
    </td>
</tr>

<s:hidden  name="informedConsents.coeis" id="altcoeis" value="%{informedConsents.coeis}"/>
<s:textfield label="COEIS" id="coeis" cssClass="datepicker"/>

<s:hidden  name="informedConsents.recepcionCopiaSellada" id="altrecepcionCopiaSellada" value="%{informedConsents.recepcionCopiaSellada}"/>
<s:textfield label="Date of receipt of the  stamped IC  (by EC)" id="recepcionCopiaSellada" cssClass="datepicker"/>

<tr><td colspan="2"><label style="padding-top: 25px; font-weight: bold;">ANMAT:</label></td></tr>

<s:hidden  name="informedConsents.sentToMoh" id="altsentToMoh" value="%{informedConsents.sentToMoh}"/>
<s:textfield label="Sent to MOH" id="sentToMoh" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvalMoh" id="altapprovalMoh" value="%{informedConsents.approvalMoh}"/>
<s:textfield label="MOH approved" id="approvalMoh" cssClass="datepicker"/>

<s:hidden  name="informedConsents.sentToCcis" id="altsentToCcis" value="%{informedConsents.sentToCcis}"/>
<s:textfield label="Sent to CCIS" id="sentToCcis" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvalCcis" id="altapprovalCcis" value="%{informedConsents.approvalCcis}"/>
<s:textfield label="CCIS Approval" id="approvalCcis" cssClass="datepicker"/>

<s:hidden  name="informedConsents.approvalMoj" id="altapprovalMoj" value="%{informedConsents.approvalMoj}"/>
<s:textfield label="MOJ approval" id="approvalMoj" cssClass="datepicker"/>

<s:hidden  name="informedConsents.readyForImplementation" id="altreadyForImplementation" value="%{informedConsents.readyForImplementation}"/>
<s:textfield label="Ready for site implementation" id="readyForImplementation" cssClass="datepicker"/>

<s:hidden  name="informedConsents.siteIcfreviewForm" id="altsiteIcfreviewForm" value="%{informedConsents.siteIcfreviewForm}"/>
<s:textfield label="SITE ICF Review Form ( for versions approved by MOH)" id="siteIcfreviewForm" cssClass="datepicker"/>

<tr>
    <td colspan="2" style="text-align: center">
        <s:submit value="Save" id="informedConsentsSave" action="informedConsentsSave" onclick="setEmptyDates();validate();beforeSave();" theme="simple" />
    </td>
</tr>

<s:if test="informedConsents.id != null">
<tr>
    <td colspan="2" style="text-align: center">
        <button id="informedConsentsClear" onclick="$('#category').change(); $('html, body').animate({ scrollTop:  $('#category').offset().top - 15 }); return false;">Clear</button>
    </td>
</tr>
</s:if>
<s:hidden name="informedConsents.id" value="%{informedConsents.id}"/>
<script>
    inicializarTodaFecha();
</script>

<s:if test="informedConsents.id != null">
    <script type="text/javascript">
        $('#scope').parent().parent().remove();
    </script>
</s:if>